//
// Created by Castle on 2025/10/21.
//

#include <iostream>
#include <ostream>
#include <bitset>

int main() {

    unsigned short int data {15};

    std::cout << "data (dec):" << std::dec << data << std::endl;
    std::cout << "data (hex):" << std::hex << data << std::endl;
    std::cout << "data (oct):" << std::oct << data << std::endl;
    std::cout << "data (bin): " << std::bitset<8>(data) << std::endl;
    std::cout << "data (bin): " << std::bitset<16>(data) << std::endl;

    return 0;
}
